package com.nbufe.strategy.demo2;

/**
 * @Author Zan
 * @Create 2024/5/20 8:37
 * @ClassName: CarStrategy
 * @Description : TODO 请用一句话描述该类的功能
 */
public class CarStrategy extends TravelStrategy {

    @Override
    double calculate(int nums, int hours) {
        return nums * 300;
    }
}
